READ MEMBLOCK

Create a memblock from the currently open file.

  Syntax
READ MEMBLOCK File Number, Memblock Number
  Parameters
File Number
Integer
The file number
Memblock Number
Integer
The memblock number

  Returns

This command does not return a value.

  Description

The file must contain a memblock created with the WRITE MEMBLOCK command, at the exact position within the file. You must specify the file and memblock numbers using integer values.

  Example Code
cls
open to read 1,"data.dat"
read memblock 1,1
close file 1
do
loop
end
  See also

FILE Commands Menu
Index